package com.teach.basic.dao;

import com.teach.basic.model.po.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 * @version 1.0
 * @author hzz
 * @since 2020-03-10
 */
@Mapper
public interface ArticleDao extends BaseMapper<Article> {
    /**
     * @param entity
     * @return
     */
    int insertSelective(Article entity);

    List<Article> findArticle(Article entity);
}
